﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Circle", menuName = "BulletMotion/Circle(未实装)")]
public class Circle : BulletMotion
{
    public float angularVelocity;

    public override Vector2 Motion(float t)
    {
        /*
        float rad = angularVelocity * t * Mathf.PI / 180;
        float x = Mathf.Cos(rad);
        float y = Mathf.Sin(rad);
        return new Vector2(Vector2.Dot(motionController.targetVelocity, new Vector2(x, -y)), Vector2.Dot(motionController.targetVelocity, new Vector2(y, x)));
        */
        return base.Motion(t);
    }
}